<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const x = (1 + 2, 3 + 4);
      console.log(x); //7

      let a, b;
      const y = ((a = 1), (b = 2), a + b);
      console.log(y);
      /*   
      let a = 1;
      let b = 2;
      y = a+b;
      console.log(a+b); 
      */
    </script>
  </body>
</html>
